//
//  forgetVC.m
//  tcpoctest
//
//  Created by gump on 10/25/12.
//  Copyright (c) 2012 gump. All rights reserved.
//

#import "forgetVC.h"
#import "WFLabel_blackShadow.h"
#import "ViewManager.h"
#import "PublicFun.h"

@interface forgetVC ()

@end

@implementation forgetVC

- (id)init
{
    self = [super init];
    if (self) {
        // Custom initialization
    }
    return self;
}

-(void)initUI
{
    self.view.backgroundColor = [UIColor clearColor];
    
    //title
    [self createTitle];
    self.mtitle.text = @"密码找回";
    
    UIBarButtonItem *backItem = [self createBarBackButtonItemWithTitle:@"返回" target:self action:@selector(backButtonPressed)];
    self.navItem.leftBarButtonItem = backItem;
    //[backItem release];
    
//    UIWebView *webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 44, [[UIScreen mainScreen] applicationFrame].size.width, [[UIScreen mainScreen] applicationFrame].size.height - 44)];
//    webView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bgColor.png"]];
//    [webView setUserInteractionEnabled:YES];
//    [webView setDelegate:self];
//    [webView setOpaque:NO];
//    [self.view addSubview:webView];
//    //[webView release];
//    
//    NSURL *url = [[ NSURL alloc ]initWithString :@"http://www.baidu.com"];
//    [webView loadRequest:[NSURLRequest requestWithURL:url]];
    //[url release];
}

#pragma mark -button selegate-
-(void)backButtonPressed
{
    [[ViewManager sharedViewManager] backView:self];
}
@end
